<?php

define('G_BIN_CHECK_INCLUDE', 1);
define('G_DONT_DISPLAY_ENTITY_HEADER', true);
define('G_DONT_DISPLAY_ENTITY_FOOTER', true);

include 'common.inc.php';

$tpl = Bin::getView('editTopic.tpl.html');

$tpl->assign("_G_INPUT_", $_G_INPUT_);

if($_G_INPUT_['type'] == 'changeBestTopic')
{
	$topicID = intval($_G_INPUT_['topicID']);
	$bestTopicDetail = $bestPushObj->getTopicList($topicID, true);
	$tpl->assign("bestTopicDetail", $bestTopicDetail[$topicID]);

}

$tpl->output();